<?xml version="1.0" encoding="utf-8"?>
<SetupConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <DefaultInstallPath>BMFBOVESPA\</DefaultInstallPath>
  <SystemInfo Id="PSE" Description="Plataforma de Serviços v4">
    <Version>
      <Build>2</Build>
      <Major>4</Major>
      <Minor>1</Minor>
      <Revision>0</Revision>
      <MajorRevision>0</MajorRevision>
      <MinorRevision>0</MinorRevision>
    </Version>
    <Groups>
      <Group Id="PSE-Framework" Name="PSE-Framework" Description="Framework da plataforma de serviços" Index="0" Installed="false">
        <Install>false</Install>
        <Module Id="Framework" Name="Framework" />
        <Layers>
          <Layer>Client</Layer>
          <Layer>Server</Layer>
        </Layers>
        <System Id="PSE" Description="Plataforma de Serviços v4">
          <Version>
            <Build>2</Build>
            <Major>4</Major>
            <Minor>1</Minor>
            <Revision>0</Revision>
            <MajorRevision>0</MajorRevision>
            <MinorRevision>0</MinorRevision>
          </Version>
          <Groups />
          <UpdateInfo>
            <Descriptions />
          </UpdateInfo>
          <Dependencies />
          <Children />
          <Process />
        </System>
        <SubGroups />
        <Actions>
          <ActionBase xsi:type="Copy" Id="Copy-PSE-Framework" Description="Copia dos arquivos do framework da plataforma de serviços" Index="0" GroupId="PSE-Framework">
            <Folders>
              <Folder Source="Bin\PSE\Framework\v4\" Destination="PSE\Framework\v4\">
                <Files />
                <IgnoreFiles />
              </Folder>
              <Folder Source="Bin\PSE\Certificates\" Destination="PSE\Certificates\">
                <Files />
                <IgnoreFiles />
              </Folder>
            </Folders>
          </ActionBase>
          <ActionBase xsi:type="InstallAssembly" Id="InstallAssembly-PSE-Framework" Description="Instalação dos arquivos do framework da plataforma de serviços" Index="1" GroupId="PSE-Framework">
            <Folders>
              <Folder Source="Bin\PSE\Framework\v4\" Destination="PSE\Framework\v4\">
                <Files />
                <IgnoreFiles />
              </Folder>
            </Folders>
          </ActionBase>
          <ActionBase xsi:type="InstallCertificate" Id="InstallCertificate-PSE-Framework" Description="Instalação dos certificados da plataforma de serviços" Index="2" GroupId="PSE-Framework">
            <Certificates>
              <Certificate>
                <File FileName="BVMFPSERootCA.pfx" Source="Bin\PSE\Certificates\" Destination="PSE\Certificates\" />
                <Password>A5MKUVMFnmKAZsTnKvFG9yXcx4y/Eet6</Password>
                <StoreName>AuthRoot</StoreName>
              </Certificate>
            </Certificates>
          </ActionBase>
          <ActionBase xsi:type="CreateShortcut" Id="CreateShortcut-PSE-Framework" Description="Criação dos atalhos" Index="10" GroupId="PSE-Framework">
            <Shortcuts>
              <Shortcut>
                <Executable FileName="SetupUninstall.exe" Destination="PSE\Setup-v4\" />
                <Icon FileName="PSE.ico" Destination="PSE\Setup-v4\" />
                <SpecialFolders>
                  <SpecialFolder>StartMenu</SpecialFolder>
                </SpecialFolders>
                <ShotcutFile FileName="Setup 4.lnk" Destination="Plataforma de Serviços\Framework\" />
              </Shortcut>
            </Shortcuts>
          </ActionBase>
          <ActionBase xsi:type="UpdateWindowsRegistry" Id="UpdateWindowsRegistry-PSE-Framework" Description="Criação do registro de windows" Index="10" GroupId="PSE-Framework">
            <Keys>
              <RegistryKey Name="SOFTWARE\PSE">
                <Values>
                  <RegistryValue Name="ApplicationRootDirectory" Description="ApplicationRootDirectory" HasChanges="false" XPath="/SetupParameter/@FullInstallationPath" RegistryValueKind="String" Type="String" IsEncrypted="false" EncryptionAlgorithm="DES_Generic" IsRequired="false" IsVisible="false" />
                </Values>
                <HasAnyPropertyChanged>false</HasAnyPropertyChanged>
              </RegistryKey>
            </Keys>
          </ActionBase>
        </Actions>
        <Dependencies />
      </Group>
    </Groups>
    <UpdateInfo>
      <Descriptions />
    </UpdateInfo>
    <Dependencies />
    <Children />
    <Process />
  </SystemInfo>
</SetupConfiguration>